Add approved column#77708
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@sobitneupane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Looking good to me so far! |
| } | ||
| if (item.approved && DateUtils.doesDateBelongToAPastYear(item.approved)) { | ||
| result.shouldShowYearApproved = true; | ||
| } |
There was a problem hiding this comment.
I missed adding approved to the early exist clause. I'll do that in a follow up PR since I'm touching these lines anyways and the PR is ready for review too #77791
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2025-12-17.at.7.04.30.AM.mov |
QichenZhu
left a comment
There was a problem hiding this comment.
Looks good, but step 6 fails because of #77708 (comment)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.2.79-0 🚀
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.2.81-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.81-5 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.81-5 🚀
|




Explanation of Change
Adds the approved column to reports and expense types
Fixed Issues
$ #76867
Tests
Approvedcolumn and saveApprovedcolumn in the tableOffline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Screen.Recording.2025-12-15.at.2.54.36.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari